package com.itheima.design.mode.factory.simple;

public class SimpleFactoryTest {

    public static void main(String[] args) {

        SimpleFactory simpleFactory = new SimpleFactory();
        Milk milk = simpleFactory.getMilk("zhuangyuan");
        System.out.println(milk.getName());
    }
}
